home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
02
/
5
/
DISK0254.ZIP
/
MAKEBKUP.BAT
< prev
Wrap
DOS Batch File
|
1984-09-05
|
2KB
|
55 lines
. MAKEBKUP.BAT
ECHO ON
. This batch file copies the HELP distribution diskette to
. another disk. You must have a formatted diskette on hand
. to write this backup copy to. Invoke the batch file in
. the following manner:
.
. MAKEBKUP p: s: d:
. ^ ^ ^- destination disk drive with colon ":"
. ! ! where the copy should be written.
. ! !
. ! ^---- source disk drive followed by colon ":"
. ! where the original diskette is.
. !
. the disk drive where the programs DISKCOPY and DISKCOMP
. may be read from, followed by a colon ":" .
.
. For example:
. MAKEBKUP A: B: B: - performs a single drive copy in
. drive B:, reading the DOS programs
. from the diskette in drive A:
.
. If you want to abort this batch file press the Ctrl-C key.
PAUSE
. If you only have one disk drive, you must copy the programs
. DISKCOPY and DISKCOMP from your DOS diskette to this disk.
. If the programs already exist on the diskette, overwrite
. them with your copies to ensure they belong to your version
. of DOS.
.
. Before starting the backup, you should make certain that
. your original diskette is write protected to avoid
. inadvertent erasure of the diskette. The notch near the
. diskette label should be covered with a write-protect tab
. normally found in a box of diskettes.
.
. You have selected disk drive "%1" as the disk containing
. the DOS programs DISKCOPY and DISKCOMP in its default
. directory, drive "%2" as the source disk, and drive "%3"
. as the destination disk.
.
. If the command has been invoked correctly press any key
. to continue. If you want to abort this batch file now
. or any time while it is running press the Ctrl-C key.
PAUSE
%1DISKCOPY %2 %3
.
. Now verify the backup copy
.
%1DISKCOMP %2 %3
.
. The backup is done. If DISKCOMP found any files with
. errors, try running the batch file again with another
. new diskette as the destination.